package com.example.emailWeb.Socket.test;

public class Apple {
    public String Color;
    public int size;

    public Apple(Apple apple) {
        this.Color = apple.getColor();
    }

    public Apple() {
        size = 120;
    }

    public Apple(String color) {
        this();
        Color = color;
    }

    public String getColor() {
        return Color;
    }

    public void setColor(String color) {
        Color = color;
    }

    @Override
    public String toString() {
        return "Apple{" +
                "Color='" + Color + '\'' +
                ", size=" + size +
                '}';
    }
}
